pub use sea_orm_migration::prelude::*;

mod m20220101_000001_create_gitlab_info;
mod m20240928_130855_create_task_step;
mod m20240928_130907_create_project_info;
mod m20240928_130916_create_commit_info;

pub struct Migrator;

#[async_trait::async_trait]
impl MigratorTrait for Migrator {
    fn migrations() -> Vec<Box<dyn MigrationTrait>> {
        vec![
            Box::new(m20220101_000001_create_gitlab_info::Migration),
            Box::new(m20240928_130855_create_task_step::Migration),
            Box::new(m20240928_130907_create_project_info::Migration),
            Box::new(m20240928_130916_create_commit_info::Migration),
        ]
    }
}
